@import "common";

.shop {
  font-size: 0.8rem;
  font-weight: normal;
  .el-form--label-top .el-form-item__label {
    padding: 0;
    line-height: 1rem;
  }
  legend {
    font-size: 110%;
    color: #909399;
    line-height: 2rem;
  }

  .login-bg {
    background-size: cover !important;
    color: #f0f0f0;
    .login {
      .el-form-item {
        margin-bottom: 1.3rem;
      }
      .el-button {
        padding: 0.8rem 0.8rem;
      }
      min-height: 100vh;

      .login-con {
        width: 360px;
        margin: 0 auto .8rem;
      }
      .login-page {
        margin-right: calc(~"50vw - 180px");;
        padding-top: 8rem;
      }
      @media (min-width: 576px) {
        .login-page {
          margin-right: 8rem;
          padding-top: 8rem;
        }
      }
      .login-div {
        font-size: 15px;
        color: #1c2438;
        font-weight: 700 !important;
      }
      .login-span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      .web-title {
        margin-bottom: 30px;
      }

      .el-input__inner {
        border-radius: 0.2rem;
        font-size: 0.8rem;
        height: 2.5rem;
        line-height: 2.5rem;
      }
      .register-a {
        text-align: right;
        font-size: 0.8rem;
        margin-top: -16px;
      }

      .register-a a {
        display: inline-block;
        color: #9B9EA0;
        cursor: pointer;
        padding: 5px;
        text-underline: none;
        text-decoration: none;
      }

      .other-login span {
        font-size: 12px;
        color: #9B9EA0;
        display: inline-block;
        line-height: 28px;
        vertical-align: top;
        padding: 0px 5px 5px 0px;
      }
    }
  }

  .h-toolbar {
    .inline-item {
      display: inline-block;
      line-height: 32px;
      margin-right: 10px;
    }
    .inline {
      display: inline-block;
      line-height: 32px;
    }

    .label {
      font-size: 12px;
      font-weight: 600;
      vertical-align: top;
      margin-right: 5px;
    }
    background: #ffffff;
    padding: 10px 0px;
    margin-bottom: 15px;
    .el-form-item {
      margin-bottom: 0px;
    }
    .more-params {
      .el-form-item {
        margin-bottom: 10px;
      }
      clear: both;
      box-sizing: border-box;
    }
    .el-form-item__label {
      font-size: 12px;
    }
    .el-input--small {
      font-size: 12px;
    }
    .el-input-group {
      .el-input__inner {
        border-radius: 3px 0px 0px 3px;
      }
      .el-input-group__append, .el-input-group__prepend {
        border-radius: 0px 3px 3px 0px;
      }
    }
    .el-input__inner {
      border-radius: 3px;
    }
  }

  .h-header {
    box-shadow: 0 0 14px 6px #b6c4e2;
    z-index: 100;
    .nav-masthead .nav-link {
      cursor: pointer;
      padding: .25rem .25rem;
      margin: 0 .5rem;
      font-weight: 500;
      color: #e8e8e8;
      background-color: transparent;
      border-bottom: .1rem solid transparent;
      font-size: 1rem;
      line-height: 2.5rem;
      .el-button {
        font-size: 1rem;
        text-align: center;
        vertical-align: center;
      }
    }

    .nav-masthead .active {
      color: #fff;
      border-bottom-color: #fff;
    }

    .logo {
      height: 46px;
      width: 184px;
      display: block;
      font-size: 2rem;
      margin-right: 1.5rem;
      color: #ffffff;
    }
  }

  .h-container {
    min-height: calc(~"100vh - 125px");
    .h-toolbar {
      position: relative;
      padding: 0.5rem 0.6rem;
      margin-bottom: 1rem;
      border: 1px solid transparent;
      border-radius: 0.25rem;
      color: #818182;
      background-color: #fafafa;

      .el-range-editor.el-input__inner {
        padding: 0 0.5rem;
      }
      .el-form-item__label {
        font-size: 0.8rem;
        line-height: 0.8rem;
      }

      .el-form-item {
        margin: 0 0.7rem 0 0;
      }

      label {
        margin-bottom: 0;
        color: #909399;
        font-weight: bold;
        font-size: 0.8rem;
      }
      .el-form-item__content {
        line-height: normal;
        font-size: 1rem;
        .is-active {
          border-bottom: 1px solid #409EFF !important;
        }
        .group {
          line-height: 1.8rem;
          .el-radio-group {
            vertical-align: inherit;
          }
          .el-radio + .el-radio {
            margin-left: 0.8rem;
          }
        }

      }

      .el-date-editor .el-range-separator {
        width: auto;
      }
      .el-form--inline .el-form-item__content {
        vertical-align: initial;
      }
      .el-date-editor .el-range-input, .el-date-editor .el-range-separator {
        font-size: 0.8rem;
        height: auto;
      }
      .el-input__inner {
        font-size: 0.8rem;
        height: auto;
      }
    }

  }

  .bind-info {
    .el-input__icon {
      font-size: 1rem;
    }
  }

  .el-message-box__status.el-icon-info {
    color: #2d8cf0
  }

  .el-message-box__content {
    font-size: 0.8rem;
  }

  .fa {
    font-size: 0.8rem;
    padding: 0px 2px;
  }

  .buy-dialog {
    .el-dialog__body {
      padding: 5px;
    }
  }

  .el-input-number {
    line-height: 1.9rem;
  }

  .sell-good {
    padding: 0.5rem;
    background: #ffffff;
    .good {
      padding: 5px;
      display: inline-block;
      margin: 15px;
      .good-img {
        display: inline-block;
        width: 160px;
        vertical-align: top;

        img {
          padding: 3px;
          width: 160px;
          height: 160px;
        }

        .good-name {
          text-align: center;
          line-height: 34px;
        }
      }

      .sell-info {
        display: inline-block;
        vertical-align: top;
        line-height: 22px;
        padding: 0 5px;
        .sell-info-inf {
          min-height: 160px;
          .label {
            margin-right: 5px;
          }
        }

        .buy-button {
          text-align: center;
          padding-top: 5px;
          .buy-button-size {
            min-width: 120px;
          }
        }
      }
    }

  }

  .pic-dialog {
    position: absolute !important;
    .el-carousel {
      text-align: center;
    }
    .el-carousel__item:nth-child(2n) {
      background-color: transparent;
    }

    .el-carousel__item:nth-child(2n+1) {
      background-color: transparent;
    }
    .el-dialog__header {
      padding: 0;
      display: none;
    }
    .el-dialog__body {
      padding: 0;
      margin: 0;
    }
    .is-active {
      border: 0 !important;
    }
  }

  .el-message-box__wrapper {
    top: 20vh;
    bottom: auto;
    .el-message-box {
      width: auto;
    }
  }

  .login-dialog .el-dialog__header {
    display: none;
  }

  .login-icon {
    display: block;
    width: 26px;
    height: 26px;
    text-align: center;
    background: url(imgs/icons.png) no-repeat;
  }

  .icon-qq {
    background-position: 0 -179px;
  }
  .icon-qq:hover {
    background-position: 0 -205px;
  }

  .icon-weixin {
    background-position: -52px -179px;
  }
  .icon-weixin:hover {
    background-position: -52px -205px;
  }

  .figure {
    width: 60px;
    height: 60px;
  }

  .error-page {
    width: 100%;
    margin: 0 auto;
    background: #e6e6e6;
    iframe {
      margin: auto;
      height: calc(~"100vh - 130px");
    }
  }

  .register {
    width: 860px;
    margin: 0 auto;
    padding-top: 5vh;
    .el-form-item__error {
      padding: 0;
    }
    .el-card__body {
      padding: 10px 20px 20px 20px;
    }
    .el-form-item--small .el-form-item__label {
      line-height: 100%;
    }

    .el-tabs--card > .el-tabs__header {
      border-bottom: 0;
    }
    .el-tabs__header {
      margin: 0;
    }
    .el-form-item {
      margin-bottom: 8px;
    }

    .el-tabs__item {
      font-size: 0.85rem;
      font-weight: 500;
      color: rgba(0, 0, 0, 0.65);
    }
    .el-tabs__item.is-active {
      color: #409EFF;
    }

    .el-form--label-top .el-form-item__label {
      padding: 0;
    }

    .el-form-item__label {
      font-size: 0.8rem;
      line-height: 1.8rem;
    }
  }

  .custom-form {
    .el-form-item {
      span {
        font-size: 0.8rem;
      }
    }
  }
  .el-card__header {
    span {
      font-size: 1rem;
      font-weight: 500;
    }
  }

  .red {
    color: red;
    font-weight: 600;
  }

  .delivery-div {
    background: #ffffff;
    padding: 15px;

    .summary {
      padding: 0px 0px 5px 0px;
      color: #909399;
      .red {
        font-size: 0.85rem;
        font-weight: 500;
      }
      .label {
        font-size: 0.8rem;
        font-weight: 600;
      }
    }
  }

  .el-dialog__body {
    line-height: normal;
  }

  .el-radio, .el-radio--medium.is-bordered .el-radio__label {
    font-size: 0.8rem;
  }

  .el-radio__label {
    font-size: 0.6rem;
    padding: 0;
  }

  .el-button--text {
    padding: 10px 5px !important;
  }

  .el-input__inner {
    border-radius: 0.2rem;
    font-size: 80%;
    height: 2rem;
    line-height: 2rem;
  }

  .el-input__icon {
    line-height: 2rem;
    height: 2rem;
    font-size: 0.8rem;
  }

  .el-dialog__header {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
  }

  .el-dialog__footer {
    padding: 1rem;
    border-top: 1px solid #e9ecef;
  }

  .small-dialog {
    .el-dialog__body {
      font-size: 0.8rem;
      padding: 15px 10px;
    }

    .el-form-item__content {
      font-size: 0.8rem;
    }
    .el-form-item__label {
      font-size: 0.8rem;
    }

    .el-dialog__headerbtn {
      top: 1rem;
    }

    .el-dialog__header {
      padding: 1rem;
      border-bottom: 1px solid #e9ecef;
    }
    .el-dialog__footer {
      padding: 1rem;
      border-top: 1px solid #e9ecef;
    }
  }

  .h-form {
    padding: 10px 5px 0px 5px;
    .form-label {
      display: inline-block;
      color: #909399;
      font-weight: 500;
      padding: 4px 0px;
      font-size: 0.8rem;
    }
    .form-content {
      display: inline-block;
      font-size: 0.8rem;
      padding: 5px 5px 0px;
    }

    .form-content div + div {
      margin-top: .5rem;
    }
  }

  .el-dialog__body {
    font-size: 100%;
    padding: 10px;
  }

  .i-info {
    font-weight: 800;
    font-size: 120%;
    color: red;
  }

  .order-status {
    .alert {
      padding: 0;
    }
    div {
      margin-bottom: 5px;
    }
  }

  .order-info {
    .order-label {
      font-weight: 600;
      color: #909399;
    }

    .order-type {
      font-weight: 600;
      color: red
    }
    .order-pay-sn {
      color: red;
      font-size: 0.9rem;
      font-weight: 700;
    }

    .order-pay-info {
      color: red;
      font-size: 0.9rem;
      font-weight: 700;
    }
  }

  .good-detail-info {
    .good-detail-pic {
      cursor: pointer;
      float: left;
      margin-right: 10px;
      img {
        width: 90px;
        height: 90px;
      }
    }
    .good-detail-name {
      float: left;
      vertical-align: top;
      line-height: 30px;
    }
  }

  .h-specs {
    .order-label {
      font-weight: 600;
      color: #909399;
    }
  }

  .h-footer {
    background: #f5f7fa;
    padding: 10px;
    border-top: 1px solid #e0e0e0;
    display: block;
    .icp {
      color: #737573;
      text-decoration: none;
      font-size: 0.8rem
    }
    .company {
      color: #737573;
      text-decoration: none;
      font-size: 0.8rem;
    }
  }

  .el-button {
    font-size: 0.8rem;
    padding: 0.6rem 0.8rem;
    vertical-align: top;
  }

  .v-t {
    vertical-align: top;
  }

  .el-menu--horizontal {
    border-bottom: 0 !important;
    > .el-menu-item {
      height: 2.5rem;
      line-height: 2.8rem;
      border-bottom: 0;
      padding: 0 5px;
      margin: 0 10px !important;
      color: #e8e8e8;
    }
  }

  .el-menu {
    background: transparent;
  }
  a, a:hover {
    color: inherit;
    text-decoration: none;
  }

  .el-menu--horizontal .el-menu-item:focus, .el-menu--horizontal .el-menu-item:hover {
    outline: 0;
    color: #eeeeee;
  }

  .el-dropdown-menu__item--divided:before,
  .el-menu,
  .el-menu--horizontal > .el-menu-item:focus,
  .el-menu--horizontal > .el-menu-item:hover,
  .el-menu--horizontal > .el-submenu .el-submenu__title:hover {
    background-color: transparent;
    border-bottom: 2px solid #ffffff;
  }

  .figure {
    padding: 2px;
    width: 40px;
    height: 40px;
  }
  .h-red {
    color: red;
  }

  .el-checkbox {
    font-size: 1rem;
  }

  .el-checkbox__inner {
    width: 1rem;
    height: 1rem;
  }

  .h-pagination {
    background: #ffffff;
    margin: 0 15px;
    padding: 0.5rem 0.3rem;
    border: 1px solid #ebeef5;
    border-top: 0;
    text-align: right;
  }
  .el-select-dropdown__item {
    padding: 2px 10px;
    height: auto;
  }

  .user-info {
    font-size: 0.8rem;
    margin-bottom: 5px;
    .user-pic {
      display: inline-block;
      height: 42px;
      vertical-align: top;
      margin-right: 5px;
      img {
        width: 42px;
        height: 42px;
        border-radius: 50% !important;
      }
    }
    .user-name {
      display: inline-block;
      line-height: 20px;
      vertical-align: top
    }

  }

  .header-user-info {
    .el-menu--horizontal > .el-submenu .el-submenu__title {
      height: 2.8rem;
      line-height: 2.8rem;
      color: #ffffff;
      border: 0px;
    }
    .el-submenu__title {
      i {
        color: #ffffff;
        -webkit-font-smoothing: inherit;
      }
      padding: 0px;
    }

    .is-active {
      border-bottom: 0px !important;
    }
  }

  .el-menu--popup {
    padding: 0px;
  }

  .el-menu--collapse .el-menu .el-submenu, .el-menu--popup {
    min-width: 120px;
  }

}
